package com.kantboot.file.service;

import com.kantboot.file.entity.CesKantbootFile;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

@Service
public interface CesKantbootFileService {

    /**
     * 根据ID查看查看文件
     * @param id
     * @param response
     */
    void showFileById(Integer id,String typeStr, HttpServletResponse response);

    CesKantbootFile upload(MultipartFile file,String typeStr);
}
